package org.zgy.stock.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;

@Data
@Entity
@TableName(value = "stock_base")
@EqualsAndHashCode()
public class StockBase {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String name;
    private String code;


}
